home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global ayumi, mayu, syu
- puppetSprite(2, 1)
- puppetSprite(3, 1)
- puppetSprite(4, 1)
- puppetSprite(5, 1)
- puppetSprite(6, 1)
- puppetSprite(7, 1)
- if ayumi < 4 then
- set the castNum of sprite 2 to 2
- else
- if ayumi < 9 then
- set the castNum of sprite 2 to 3
- else
- set the castNum of sprite 2 to 1
- end if
- end if
- if syu < 4 then
- set the castNum of sprite 3 to 8
- else
- if syu < 9 then
- set the castNum of sprite 3 to 9
- else
- set the castNum of sprite 3 to 7
- end if
- end if
- if mayu < 4 then
- set the castNum of sprite 4 to 5
- else
- if mayu < 9 then
- set the castNum of sprite 4 to 6
- else
- set the castNum of sprite 4 to 4
- end if
- end if
- set the castNum of sprite 5 to 12 + ayumi
- set the castNum of sprite 6 to 12 + syu
- set the castNum of sprite 7 to 12 + mayu
- updateStage()
- end
-